
#include "Assistant.h"

#define UPDATA_FILE_FLAG 0xabcd

#define UPDATA_TIP_X0   200
#define UPDATA_TIP_X1   580
#define UPDATA_TIP_Y0   330
#define UPDATA_TIP_Y1   350

typedef struct _updata_file_head
{
    int head_flag;
    int logo_start;
    int logo_size;
    int main_start;
    int main_size;
    int font_start;
    int font_size;
    int cal_start;
    int cal_size;
    int cmos_start;
    int cmos_size;
    int acq_start;
    int acq_size;
    int awg_cal_start;
    int awg_cal_size;
    int crc;
} updata_file_head;

extern "C" void system_updata(char *pFileName);

